package designPatterns_demo.adapter_pattern.class_adapter.demo2;

public class Adapter extends Adaptee implements Target{
	
	public void sampleOperation1(){
		super.sampleOperation1();
	}

	 /**
     * 由于源类Adaptee没有方法sampleOperation2()
     * 因此适配器补充上这个方法
     */
	@Override
	public void sampleOperation2() {
		// 写相关的代码
	}

}
